package com.chinasoft.movies.mapper;

import com.chinasoft.movies.pojo.CountByYear;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CountByYearMapper {

    @Select("select year,movie_count from movies_count_by_year where year<2025")
    List<CountByYear> queryCountByYear();
}
